package object2.package1;

public class Dog extends Animal{
    public void bark(){
        System.out.println(name + "在汪汪汪叫");
    }

    @Override
    public void eat() {
        System.out.println(name + "：在吃狗粮");
    }
}
